package com.example.fill;

import androidx.annotation.NonNull;
import androidx.lifecycle.ViewModel;
import androidx.lifecycle.ViewModelProvider;

public class TestViewModel extends ViewModel {

    public TestViewModel(Application app){

    }

    public static class Factory implements ViewModelProvider.Factory{
        @NonNull
        @Override
        public <T extends ViewModel> T create(@NonNull Class<T> modelClass) {
            return (T) new TestViewModel(Application.context);
        }
    }
}
